﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Collections;
using popLib;
using popLib.CustomeControl;
using System.Data.Objects;

namespace popLib.ExtensionClass
{
    public partial class EFDataManagement : Form
    {
        public EFDataMgrPanel EFDataPanel { get { return dataPanel; } }
        public EFDataManagement(ObjectContext entity, dynamic dataset, List<SearchItem> searchList, int itemPerPage, string orderByField)
        {
            InitializeComponent();
            EFDataPanel.InitForm(entity, dataset, searchList, itemPerPage, orderByField);
        }

        public EFDataManagement()
        {
            InitializeComponent();
        }
    }
}
